<#include "/common/_header.html" />
<div class="page-group"><!-- 页面组 -->
	<div class="page page-current"><!-- 页面组中的每一个页面，可以互相跳转 -->
		<header class="bar bar-nav"><!-- 每个页面的头部 -->
			<h1 class="title" style="font-size: 1rem;">我的</h1>
		</header>
		<div class="content native-scroll"><!-- 每个页面的内容区域 -->
			<div class="page-index">
				<div class="content-block" style="margin-top: 0.5rem;margin-bottom: -1.5rem;">
					<div class="row">
					  <div class="col-33">
					  	<span class="badge pull-right" style="margin-top:1rem;margin-bottom:0.5rem;background-color:#fff;border:1px solid #ff6600;color:#ff9900;">${uservo.userCommunityName}</span>
					  	<span class="badge pull-right" style="margin-top:0.5rem;margin-bottom:0.2rem;background-color:#fff;border:1px solid #ff6600;color:#ff9900;">${uservo.province}·${uservo.city}</span>
					  </div>
				      <div class="col-33">
				      	<div style="width:4rem; height:4rem;margin-left: 0.9rem;">
				      		<img onclick="javascript:location.href = '${path}/checkin/edit?userid=${uservo.userid}'" src="${uservo.usericon}" style="width:4rem; height:4rem;">
				      	</div>
				      	<div style="text-align: center;"><span>${uservo.nickname}</span>
				      		<#if uservo.sex==1>
				      			<span class="iconfont icon-male" style="color: #1296db;"></span>
				      		<#elseif uservo.sex==2>
				      			<span class="iconfont icon-female" style="color: #d4237a;"></span>
				      		<#else>
				      			<span class="iconfont icon-question" style="color: #f16522;"></span>
				      		</#if>
				      	</div>
				      </div>
				      <div class="col-33">
				      	<span class="badge pull-left" style="margin-top:1rem;margin-bottom:0.5rem;background-color:#fff;border:1px solid #ff6600;color:#ff9900;">${uservo.userlevelStr}</span>
				      	<#if uservo.isRealName?? && uservo.isRealName==1>
				      	<span class="badge pull-left" style="margin-top:0.5rem;margin-bottom:0.2rem;background-color:#fff;border:1px solid #ff6600;color:#ff9900;">已实名</span>
				      	</#if>
				      </div>
				    </div>
				</div>
				
				<div class="list-block">
				    <ul>
				      <li class="item-content item-link">
				        <div class="item-media">
				        	<span class="iconfont icon-edit" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的发帖</div>
				        </div>
				      </li>
				      <li class="item-content item-link" onclick="javascript:location.href = '${path}/checkin/userLevel'">
				        <div class="item-media">
				        	<span class="iconfont icon-order" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的升级</div>
				          <div class="item-after"><span style="color:#ff9900;">${uservo.userlevelStr}</span></div>
				        </div>
				      </li>
				      <li class="item-content item-link" onclick="javascript:location.href = '${path}/checkin/userCoins'">
				        <div class="item-media">
				        	<span class="iconfont icon-coin" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的金币 </div>
				          <div class="item-after"><span style="color: #ff9900;">${uservo.coins!0}</span></div>
				        </div>
				      </li>
				    </ul>
				</div>
				<div class="list-block">
				    <ul>
				      <li class="item-content item-link" onclick="javascript:location.href='${path}/checkin/selectcommunity'">
				        <div class="item-media">
				        	<span class="iconfont icon-location" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的定位</div>
				        </div>
				      </li>
				    </ul>
				</div>
				<div class="content-block" style="margin-top: -1.2rem;">
					<p tyle="font-size:0.8rem;">近期定位记录:</p>
				    <div id="checklistdiv" style="font-size:0.7rem;">
						<#if uservo.recentlyChecklist?? && (uservo.recentlyChecklist?size > 0)>
							<#list uservo.recentlyChecklist as vo>
								<p style="margin-top: 0.2rem;margin-bottom: 0.2rem;">${vo.checktime}&nbsp;&nbsp;${vo.checkCommname}</p>
							</#list>
						<#else>
							<p>暂无数据</p>
						</#if>
				    </div>
			    </div>
			</div>	
		</div>
	</div>
</div>